<template>
	<view>
		<view class="top">
			<view class="search">
				<uni-easyinput class="innersearch" prefixIcon="search" v-model="inputvalue" placeholder="左侧图标" @iconClick="iconClick"></uni-easyinput>
			</view>
			<view class="btn2">
				<navigator :url="'/pages/index/cheer/cheer'">
					<text>列表模式</text>
				</navigator>
				
			</view>
		</view>
		
		<view class="page-body">
			<view class="page-section page-section-gap">
				<map style="width: 100%; height: 600px" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
			</view>
		</view>
		<view>
			
			<view class="content">
					<view class="a">
						
					
				<image src="@/static/article01.png" mode=""></image>
				<view class="mid">
					<view class="name">中国石油加油站</view>
					
					<view class="local">中原区莲花街32号</view>
				</view>
				<navigator :url="'/pages/index/cheer/cheerDetail'" class="right">
					<view>详情》</view>
				
				</navigator>
				</view>
				<navigator :url="'/pages/index/cheer/cheernavmap'" class="dao">
					<button >立即导航</button>
				</navigator>
			</view>
			
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			id: 0, // 使用 marker点击事件 需要填写id
			title: 'map',
			latitude: 39.909,
			longitude: 116.39742,
			covers: [
				{
					latitude: 39.909,
					longitude: 116.39742,
					iconPath: '@/static/定位2@2x.png'
				},
				{
					latitude: 39.9,
					longitude: 116.39,
					iconPath: '@/static/定位2@2x.png'
				}
			]
		};
	},
	methods: {}
};
</script>

<style>
	page{
		background-color: #fff;
	}
	.top {
		display: flex;
	}
	.search {
		width: 270px;
		height: 45px;
		background-color: #efeff5;
		margin-left: 10px;
	}
	.innersearch {
		width: 260px;
		height: 28px;
		margin: 4px 6px 4px 4px;
	}
	.btn2 {
		margin-left: 10px;
		margin-top: 5px;
	}
	.btn2 text {
		font-weight: bold;
	}
.content {
	width: 372px;
	height: 150px;
	border: 1px solid #f2f2f2;
	background-color: #f2f2f2;
	margin: 3px auto;
	background-color: #fff;
	position: fixed;
	bottom: -5px;
}
	
.a{
	display: flex;
}
.a image {
	width: 100px;
	height: 66px;
	margin: 14px 10px 17px 16px;
}
.name {
	width: 130px;
	height: 25px;
	margin-top: 15px;
	font-size: 16px;
	font-weight: bold;
}
.dao button{
	background-color: #0055ff;
	color: #fff;
	width: 330px;
	border-radius: 30px;
	
}
.local {
	margin-top: 8px;
}
.mid {
	margin-right: 50px;
}
.right {
	width: 50px;
	height: 90px;
	color: #0055ff;
	margin-top: 10px;
}
.img image {
	width: 24px;
	height: 24px;
	margin-top: 30px;
	margin-left: 0px;
}
</style>
